package com.erp.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@TableName(value = "t_usergroup")
public class UserGroup {

    private Long id;

    @NotNull
    @TableField(value = "userId")
    private Long userId;

    @NotNull
    @TableField(value = "managerId")
    private Long managerId;

}
